package org.example.service;

import org.example.pojo.Dept;

import java.util.List;

/**
 * @author TonySong
 * @date 2024/4/25 0025
 * @time 15:22
 */
public interface IDeptService {

      void save(Dept dept);

      Dept get(Long id);

      List<Dept> list();

      void deleteById(Long id);

      boolean hasName(String name);
}
